package org.dromara.chicken.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.tenant.core.TenantEntity;

import java.io.Serial;
import java.math.BigDecimal;

/**
 * 鸡饲料投放对象 chicken_feed_out_info
 *
 * @author Mr Lei
 * @date 2024-05-29
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("chicken_feed_out_info")
public class ChickenFeedOutInfo extends TenantEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @TableId(value = "id")
    private Long id;

    /**
     *
     */
    private Long orderId;

    /**
     * 备注
     */
    private String remark;

    /**
     *  饲料类别1自配料2单品料
     */
    private Long productsCateId;
    /*商品基本单位*/
    private Long unitId;


    /**
     * 时间段：1早上2中午3晚上
     */
    private String feedTime;

    /**
     * 选择饲料
     */
    private Long productId;

    /**
     * 饲料数量
     */
    private BigDecimal foodNum;

    /**
     * 单价
     */
    private BigDecimal unitPrice;

    /**
     * 金额
     */
    private BigDecimal money;



}
